{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}
{% import "product/partial/product_draft_table.html" as product_table_macro %}
{% import "product/partial/search_draft_form.html" as search_product_form_macro %}

{% block title %}万屏时代报价工具--审核产品列表{% endblock %}

{% block panel_heading %}
    万屏时代报价工具--审核产品列表
{% endblock %}

{% block panel_body %}
    {{ search_product_form_macro.gen_form(search_form) }}
    {% if pagination %}
        <div class="pagination">
            {{ macros.pagination_widget(pagination, 'product_bp.product_draft_list', **url_kwargs) }}
        </div>
    {% endif %}

    {{ product_table_macro.gen_table(drafts, current_user, url_kwargs) }}

    {% if pagination %}
        <div class="pagination">
            {{ macros.pagination_widget(pagination, 'product_bp.product_draft_list', **url_kwargs) }}
        </div>
    {% endif %}
{% endblock %}

